package com.skillworld.webapp.model.course;

public class LessonAlreadyFinishedException extends Exception{
    
    Long idStudent;
    Long idLesson;
    
    public LessonAlreadyFinishedException(Long idStudent, Long idLesson){
        super("Lesson" + idLesson+ "is already finished to student " + idStudent + ".");
        this.idLesson = idLesson;
        this.idStudent = idStudent;
    }
}
